﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using JQueryDTO;

// NOTE: If you change the interface name "IService" here, you must also update the reference to "IService" in Web.config.
[ServiceContract]
public interface IService
{
    [OperationContract]
    void DoWork(Person NewPerson);

    [OperationContract]
    IList<Company> GetAllCompanies();

    [OperationContract]
    IList<Methodology> GetAllMethodologyByCompanyId(int companyId);

    [OperationContract]
    IList<Roadmap> GetAllRoadMapByMethodologyId(int methodology);

    [OperationContract]
    IList<Template> GetAllTemplateByMethodologyId(int methodology);
}
